package com.markerhub.mapper;

import com.markerhub.Vo.MonthVo;
import com.markerhub.dto.Echarts;
import com.markerhub.entity.VisitsRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MarkerHub
 * @since 2022-03-25
 */
@Repository
public interface VisitsRecordMapper extends BaseMapper<VisitsRecord> {


    Echarts Unhandle(int year);

    Echarts accept(int year);

    Echarts forword(int year);

    Echarts reject(int year);

    Echarts handle(int year);

    Echarts finish(int year);

    Echarts acchieve(int year);


    List<MonthVo> monthvisits(String start,String end);

    List<MonthVo> monthacchieves(String start,String end);
}
